package com.carlos.company.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.carlos.company.annotation.Print;
import com.carlos.company.mapper.SysUserMapper;
import com.carlos.company.pojo.SysUser;
import org.springframework.stereotype.Service;

/**
 * @author 李健成
 * @date 2021/10/14
 */

@Service
public class SysUserService extends ServiceImpl<SysUserMapper, SysUser> {

    @Print(value = "你好世界")
    public SysUser getByUsername(String username) {
        return baseMapper.getByUsername(username);
    }

}
